package com.example.kliven.because;import android.app.Application;import android.content.Context;/** * Created by Kliven on 16/1/23. */public class MyApplication extends Application {    private static Context context;    @Override    public void onCreate() {        super.onCreate();        MyApplication.context = this;    }    public static Context getContext(){        return MyApplication.getContext();    }}